import BarChart from './components/BarChart';
import DrawPath from './components/DrawPath';
import FunnelChart from './components/FunnelChart';
import IframeLoad from './components/IframeLoad';
import ImagePreview from './components/ImagePreview';
import InputPowerful from './components/InputPowerful';
import LineChart from './components/LineChart';
import PagePithy from './components/PagePithy';
import PieChart from './components/PieChart';
import SizeObserver from './components/SizeObserver';
import StepContainer from './components/StepContainer';
import StepContainerItem from './components/StepContainerItem';
import TablePowerful from './components/TablePowerful';
import TableTree from './components/TableTree';
import TextareaAutoHeight from './components/TextareaAutoHeight';
import TextEllipsis from './components/TextEllipsis';
import UploadView from './components/UploadView';
import 'element-ui/packages/theme-chalk/src/icon.scss';
const components=[
	BarChart,
	DrawPath,
	FunnelChart,
	IframeLoad,
	ImagePreview,
	InputPowerful,
	LineChart,
	PagePithy,
	PieChart,
	SizeObserver,
	StepContainer,
	StepContainerItem,
	TablePowerful,
	TableTree,
	TextareaAutoHeight,
	TextEllipsis,
	UploadView
];
function install(Vue){
	components.forEach((item) => {
		Vue.component(item.name,item);
	});
}
if(window.Vue){
	install(window.Vue);
}
export default{
	install,
	...components
};
